from django.apps import AppConfig


class WuxianshangConfig(AppConfig):
    default_auto_field = "django.db.models.BigAutoField"
    name = "wuxianshang"

    def ready(self):
        # must import after app ready
        pass

        # user_order = UserOrder(
        #     user_uuid=user.uuid,
        #     game_uuid=game_uuid,
        #     son_uuid=game.uuid,
        #     box_num=game.box_num,
        #     orderid=order_uuid(),
        #     game_name=game.name,
        #     price=game.price,
        #     num=raffle_count,
        #     game_type=GameType.quanjushang.value,
        # )

        # if stored_money and hunjing and score:
        #     raise UnknowErr
